# 导包
import requests
import config
#创建接口类
class Loginapi:
    #登录
    #接受传递的测试数据
    def login(self,):
        login_data = {
            "mobile": "13800000002",
            "password": "123456"
        }
        return requests.post(url=f"{config.url1}/api/sys/login",json=login_data)